using System;
using UnityEngine;

[Serializable]
public class IgnoreCollisions : MonoBehaviour
{
	public Collider[] ignoreCollisionWith;

	public void Start()
	{
		if (ignoreCollisionWith.Length > 0 && (bool)GetComponent<Collider>())
		{
			for (int i = 0; i < ignoreCollisionWith.Length; i++)
			{
				Physics.IgnoreCollision(GetComponent<Collider>(), ignoreCollisionWith[i]);
			}
		}
	}

	public void Main()
	{
	}
}
